bool  FFT(double *Rdat, double *Idat, int N, int LogN, int Ft_Flag);